<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>电脑网盘</title>
	<style type="text/css">
	div.all{
		height: 400px;
		width: 800px;
		/*background: pink;*/
		margin: 0 auto;
		text-align: center;
		border: 2px #ccc solid; 
	}
	table{

		height: 300px;
		width: 800px;
		text-align: center;
		border: 2px #ccc solid;
		margin-top: 10px;
	}
	
	</style>
</head>
<body> 

	<div class="all">
		<h4>电脑网盘</h4>
		<div>
			<form action="./add.php" method="post" enctype="multipart/form-data" class="mid">
				<input type="file" name="file" value="选择图片" />
				<input type="submit" value="上传" />
			</form>
		</div>
		<table class="table border=1px ">
			<tr>
				<td colspan="2">图片</td>
				<td colspan="2">图片名</td>
				<td colspan="2">time</td>
				<td colspan="2"><a href="">下载</a></td>
				<td colspan="2"><a href="">删除</a></td>
			</tr>
			<?php foreach ($paths as $v) {  ?>
			<tr>
				<td colspan="2"><img width="20" height="20" src="<?php echo $v ?>" alt=""></td>
				<td colspan="2"><?php echo basename($v) ?></td>
				<td colspan="2"><?php echo filemtime($v) ?></td>
				<td colspan="2"><a href="">下载</a></td>
				<td colspan="2"><a href="">删除</a></td>
			</tr>
		
				
			<?php } ?>

			
			
		</table>
	</div>
</body>
</html>